#ifndef CCAMERASTATEMONITOR_H
#define CCAMERASTATEMONITOR_H

#include "ivsmodel.h"
#include "ivscontrollerbase.h"

class CCameraStateMonitor : public IVSControllerBase
{
    enum eState{
        INVALID,
        NORMAL,
        LOOSE_FOCUS,
        BE_COVERED,
        NO_SIGNAL
    };

    Q_OBJECT
public:
    explicit CCameraStateMonitor(IVSModel *_ivsModel);

signals:

public slots:
    void run();
    void stop();

private:
    eState currentState;
    eState lastState;
};

#endif // CCAMERASTATEMONITOR_H
